#include <iostream>
#include "deque.h"
#include "list.h"
#include "map.h"
#include "person.h"
#include "set.h"
#include "vector.h"
#include "sqlite3.h"

using namespace std;

int main() 
{
    test_deque();
    test_list_int();

    Person person;
    person.setAge(10);
    int age = person.getAge();
    cout << "person age: " << age <<endl;

    //测试创建数据库文件
    sqlite3 *db;
    char *zErrMsg = 0;
    int rc;
    char *sql;

    rc = sqlite3_open("test.db",&db);
    if(rc){
      fprintf(stderr, "Can't open database: %s\n", sqlite3_errmsg(db));
      exit(0);
    }else{
      fprintf(stdout, "Opened database successfully\n");
    }

    return 0;
}